package com.feizi.entity;

public class AddressEntity {
	private int id;//收货地址ID
	private int f_userid;//链接用户表的外键
	private int defaultAddress;//是否是默认地址（0代表不是，1代表是）
	private String name;//收货人的名字
	private String phone;//收货手机号
	private String province;//省
	private String city;//市
	private String area;//区
	private String addressInfo;//详细的地址信息
	private String number;//地址序号
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getF_userid() {
		return f_userid;
	}
	public void setF_userid(int f_userid) {
		this.f_userid = f_userid;
	}
	public int getDefaultAddress() {
		return defaultAddress;
	}
	public void setDefaultAddress(int defaultAddress) {
		this.defaultAddress = defaultAddress;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getProvince() {
		return province;
	}
	public void setProvince(String province) {
		this.province = province;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getArea() {
		return area;
	}
	public void setArea(String area) {
		this.area = area;
	}
	public String getAddressInfo() {
		return addressInfo;
	}
	public void setAddressInfo(String addressInfo) {
		this.addressInfo = addressInfo;
	}
	public String getNumber() {
		return number;
	}
	public void setNumber(String number) {
		this.number = number;
	}
	public AddressEntity(int id, int f_userid, int defaultAddress, String name, String phone, String province,
			String city, String area, String addressInfo, String number) {
		super();
		this.id = id;
		this.f_userid = f_userid;
		this.defaultAddress = defaultAddress;
		this.name = name;
		this.phone = phone;
		this.province = province;
		this.city = city;
		this.area = area;
		this.addressInfo = addressInfo;
		this.number = number;
	}
	public AddressEntity() {
		super();
	}
	@Override
	public String toString() {
		return "AddressEntity [id=" + id + ", f_userid=" + f_userid + ", defaultAddress=" + defaultAddress + ", name="
				+ name + ", phone=" + phone + ", province=" + province + ", city=" + city + ", area=" + area
				+ ", addressInfo=" + addressInfo + ", number=" + number + "]";
	}
}
